package com.peanut.baby.mvp.profile;

import com.peanut.baby.model.PTag;
import com.peanut.baby.model.User;
import com.peanut.baby.mvp.BasePresenter;
import com.peanut.baby.mvp.BaseView;

import java.util.List;

/**
 * Created by anonymouslystudio on 2017/8/22.
 */

public interface ProfileContract {

    interface View extends BaseView{
        void onGetUserInfo(User user);
        void onGetUserInfoFailed(String reason);
        void onChangeStatusSuccess(int isConcern);
        void onChangeStatusFailed(String reason);
        void onSubscribedTagsGet(boolean success, List<PTag> tags, String failReason);
    }

    interface Presenter extends BasePresenter{
        void getUserInfo(String userId);
        void getTags(String userId);
        void changeFollowStatus(String targetId);
    }
}
